package gmodel

type AttrFunc[M any] func(model M)
type AttrFuncList[M any] []AttrFunc[M]

func (attrs AttrFuncList[M]) Apply(model M) {
	for _, attr := range attrs {
		attr(model)
	}
}
